package dto;


import java.io.Serializable;
import java.util.Date;

/**
 * @Author: jianghuiyong
 * @Date: 2018/11/19 17:26
 * @Version 1.0
 */
public class PayOrderParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 支付渠道
     */
    private Long mchId;
    /**
     * 商户订单
     */
    private String outTradeNo;
    /**
     * 订单总额(单位分)
     */
    private Long totalFee;
    /**
     * 订单标题
     */
    private String subject;
    /**
     * 订单描述
     */
    private String body;
    /**
     * 商品详情
     */
    private String goodsDetail;
    /**
     * 交易类型
     */
    private String tradeType;
    /**
     * 第三方openid
     */
    private String openid;
    /**
     * 商品ID (WX NATIVE)
     */
    private String productId;
    /**
     * 随机数
     */
    private String nonceStr;
    /**
     * 签名
     */
    private String sign;
    /**
     * 交易结束时间
     */
//    private Date timeEnd;

    public Long getMchId() {
        return mchId;
    }

    public void setMchId(Long mchId) {
        this.mchId = mchId;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public Long getTotalFee() {
        return totalFee;
    }

    public void setTotalFee(Long totalFee) {
        this.totalFee = totalFee;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getGoodsDetail() {
        return goodsDetail;
    }

    public void setGoodsDetail(String goodsDetail) {
        this.goodsDetail = goodsDetail;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

//    public Date getTimeEnd() {
//        return timeEnd;
//    }
//
//    public void setTimeEnd(Date timeEnd) {
//        this.timeEnd = timeEnd;
//    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

}
